package com.pine.app.module.security.oauth.provider.authrizationCode;

import com.pine.app.module.security.oauth.provider.OAuth2Authentication;

/**
 * @author xiaoyuan
 * @create 2019/10/18
 **/
public interface AuthenticationCodeService {

    String  createCode(OAuth2Authentication authentication);
    AuthenticationCode getByCode(String  code);

    void removeByCode(String  code);
}
